home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1843 / 1843.xpi / content / firebug / editors.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  3KB  |  65 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css"?>
  3. <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
  4. <!DOCTYPE window [
  5. <!ENTITY % firebugDTD SYSTEM "chrome://firebug/locale/firebug.dtd">
  6. %firebugDTD;
  7. <!ENTITY % editorsDTD SYSTEM "chrome://firebug/locale/editors.dtd">
  8. %editorsDTD;
  9. ]>
  10. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.         class="windowDialog"
  12.         windowtype="Firebug:ExternalEditors"
  13.         id="firebug-external-editors"
  14.         width="600" height="300"
  15.         title="&firebug.ConfigureEditors;"
  16.         onload="gEditorManager.init();"
  17.         onunload="gEditorManager.uninit();"
  18.         persist="screenX screenY width height">
  19.   <script type="application/x-javascript" src="chrome://firebug/content/xpcom.js"/>
  20.   <script type="application/x-javascript" src="chrome://firebug/content/editors.js"/>
  21.   <vbox flex="1" class="contentPane">
  22.     <label id="actionsIntro" control="editorsList">
  23.       &editors.Description;
  24.     </label>
  25.     <separator class="thin"/>
  26.     <tree id="editorsList" flex="1" seltype="single"
  27.           lastSelected="0" persist="lastSelected"
  28.           onselect="gEditorManager.onSelectionChanged();"
  29.           ondblclick="gEditorManager.changeEditorHandler();">
  30.       <treecols>
  31.         <treecol id="editorName" ignoreincolumnpicker="true" fiex="1"
  32.                   persist="width"
  33.                   label="&editors.NameColumn;"/>
  34.         <splitter class="tree-splitter" />
  35.         <treecol id="editorExecutable" flex="1"
  36.                   persist="width"
  37.                   label="&editors.ExecutableColumn;"/>
  38.         <splitter class="tree-splitter" />
  39.         <treecol id="editorParams" flex="1"
  40.                   persist="width"
  41.                   label="&editors.ParamsColumn;"/>
  42.       </treecols>
  43.       <treechildren/>
  44.     </tree>
  45.   </vbox>
  46.   <separator class="thin"/>
  47.   <hbox>
  48.     <hbox flex="1" class="actionButtons">
  49.       <button id="addEditor" icon="add"
  50.               label="&add.label;"
  51.               oncommand="gEditorManager.addEditorHandler();"/>
  52.       <button id="removeEditor" icon="remove"
  53.               label="&remove.label;"
  54.               oncommand="gEditorManager.removeEditorHandler();"/>
  55.       <button id="changeEditor"
  56.               label="&change.label;"
  57.               oncommand="gEditorManager.changeEditorHandler();"/>
  58.       <spacer flex="1"/>
  59.       <button oncommand="close();" icon="close"
  60.               label="&close.label;"/>
  61.     </hbox>
  62.     <resizer dir="bottomright"/>
  63.   </hbox>
  64. </window>
  65.